﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditRestaurantHome.aspx.cs" Inherits="ZLCMS.Web.SystemManage.weixin.BookMeal.EditRestaurantHome" %>

<%@ Import Namespace ="ZLCMS.Business.Util" %>
<%@ Register src="~/SystemManage/Control/SinglePictureControl.ascx" tagname="SinglePictureControl" tagprefix="spc" %>

<form id="pageForm" method="post" runat="Server" class="pageForm required-validate"
    onsubmit="return validateCallback(this, navTabAjaxDone);" action="/SystemManage/Weixin/BookMeal/EditRestaurantHome.aspx">
    
<div class="pageContent">
    <div class="pageFormContent" layoutH="56">
        <dl class="nowrap">
            <dt>餐厅名：</dt>
            <dd><asp:TextBox ID="tb_name" Width="200px" runat="server"></asp:TextBox>（建议10个汉字以内）</dd>
        </dl>
        <dl class="nowrap">
            <dt>餐厅简介：</dt>
            <dd><asp:TextBox ID="tb_desc" Width="300px" runat="server"></asp:TextBox></dd>
        </dl>
       
        <dl class="nowrap">
            <dt>详细内容：</dt>
            <dd>
                <textarea class="editor" name="txtContent" rows="7" cols="75" style="width: 100%" id="txtContent" runat="Server"
                    uplinkurl="/SystemManage/Common/ContentUpload.aspx?dir=doc&ext=zip,rar,txt" uplinkext="zip,rar,txt"
                    upimgurl="/SystemManage/Common/ContentUpload.aspx?dir=doc&ext=jpg,jpeg,gif,png" upimgext="jpg,jpeg,gif,png"
                    upflashurl="/SystemManage/Common/ContentUpload.aspx?dir=doc&ext=swf" upflashext="swf"
                    upmediaurl="/SystemManage/Common/ContentUpload.aspx?dir=doc&ext=avi" upmediaext="avi">
                </textarea>
            </dd>
        </dl>

         <dl class="nowrap">
            <dt>是否支持下单：</dt>
            <dd>
                <asp:checkbox runat="server" id="cbxIsPurchasable"></asp:checkbox>
            </dd>
        </dl>
              
        <dl class="nowrap">
            <dt>餐厅封面图片：</dt>
            <dd>（支持JPG、PNG格式，较好的效果为360*200）</dd>
        </dl>
        <dl class="nowrap">
            <dt>&nbsp;</dt>
            <dd><spc:SinglePictureControl ID="fc_open" runat="server" ImageWidth="360" ImageHeight="200" FileCountLimit="1" FileFilters="*.jpg;*.jpeg;*.bmp;*.png;*.gif" FileDesc="图片"/></dd>
        </dl>
	</div>
	
    <div class="formBar">
		<ul>
            <li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
			<li>
				<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
			</li>
		</ul>
	</div>
</div>
</form>

